package com.demo.juc.async;

/**
 * 回调实现
 */
public class TaskHandler implements TaskCallable<TaskResult> {

    @Override
    public TaskResult callable(TaskResult taskResult) {
        System.out.println(taskResult.toString());
        return taskResult;
    }
}
